#include"LargeNumber.h"

int countResult(LargeNumber const & left, LargeNumber const & right, char symbol, LargeNumber & result) {
        if (symbol == '+') {
                result  = left + right;
                return 0;
        }
        if (symbol == '-') {
                result = left - right;
                return 0;
        }
        if (symbol == '*') {
            result = left * right;
            return 0;
        }
        return -1;
}